<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="WEB-INF/struts-logic.tld" prefix="logic" %>

<html:html>

    
    <head>
        <html:base/>
        <title>Benvenuto</title>
    </head>


    <body>
        
        <logic:present name="LoginActionForm" scope="session">

            <logic:equal name="LoginActionForm" property="role" value="Admin Dialog" scope="session">

                <jsp:forward page ="Order.do?method=listOrders" />
            </logic:equal>

            <logic:equal name="LoginActionForm" property="role" value="Tecnico Dialog" scope="session">

                <jsp:forward page ="Login.do?method=checkLogin" />
            </logic:equal>

                <jsp:forward page ="Order.do?method=listOrders" />
        </logic:present>
        
        
            <jsp:forward page ="Login.do?method=checkLogin" />
  
        
        
         

          
    </body>

</head>
</html:html>

